package com.example.order.event;

import java.math.BigDecimal;

public class OrderCancelledEvent extends OrderEvent {
    private final BigDecimal amount;

    public OrderCancelledEvent(Object source, String orderNo, BigDecimal amount) {
        super(source, orderNo);
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }
}
